package com.qcs.sleep;

import android.app.Application;

import com.qcs.sleep.log.DefaultCrashHandler;
import com.qcs.sleep.service.Settings;

/**
 * Created by chshqiang on 13-10-24.
 * 初始化
 */
public class SleepApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        if (!Settings.isDebug())
            DefaultCrashHandler.getInstance().init(this);
    }
}
